package ua.kharkov.knure.dereza.summarytask4.db.bean;

import java.io.Serializable;

/**
 * 
 * Bean that we attach to session of client.
 * 
 * @author dereza
 *
 */
public class ClientBean implements Serializable{
   
	private static final long serialVersionUID = -3620580580681034594L;

	private int id; 
    
    private String login;
    
    private String surName;
    
    private String name;
    
    private String mobileNumber;
    
    private String role;
    
	private String locale;
    
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getLogin() {
		return login;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public String getSurName() {
		return surName;
	}

	public void setSurName(String surName) {
		this.surName = surName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getMobileNumber() {
		return mobileNumber;
	}

	public void setMobileNumber(String mobileNumber) {
		this.mobileNumber = mobileNumber;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public String getLocale() {
		return locale;
	}

	public void setLocale(String locale) {
		this.locale = locale;
	}

	@Override
	public String toString() {
		return "ClientBean [id=" + id + ", login=" + login + ", surName="
				+ surName + ", name=" + name + ", mobileNumber=" + mobileNumber
				+ ", role=" + role + ", locale=" + locale + "]";
	}	
}